home *** CD-ROM | disk | FTP | other *** search
- (****************************************************)
- (* Programming: Bob Dalton *)
- (* Demonstration Program for using Turbo Vision *)
- (* as a game configuration and setup program *)
- (* for BBS Doors *)
- (****************************************************)
-
- UNIT WorldVar; {This unit contain all your Global Variables}
-
- INTERFACE
-
- const
- {Command Constant Numbers}
- cmExitSave = 201;
- {cmQuit requires no number as it is a built in TV function}
- cmFirst = 202;
- cmSecond = 203;
- cmThird = 204;
- cmHowManySoldiers = 205;
- cmHowManyTanks = 206;
- cmHowMuchMoney = 207;
- cmHowManyGenerals = 208;
-
- {Help Constant Numbers - may not be the same as above}
- hcExitSave = 101;
- hcNoSave = 102;
- hcFirst = 103;
- hcSecond = 104;
- hcThird = 105;
- hcHowManySoldiers = 106;
- hcHowManyTanks = 107;
- hcHowMuchMoney = 108;
- hcHowManyGenerals = 109;
- type
- GlobRec = Record {Sample game record}
- Soldiers:Word;
- Tanks :Byte;
- Money :Word;
- Generals:Byte;
- End;
- GlobFile1 = File of GlobRec;
-
- VAR
- REGISTERNUMBER : String[9];
- Buyer : String[35];
- NameOfBoard : String[35];
- Registered : Boolean;
- Year : Word;
- Month : Word;
- Day : Word;
- Glob : GlobRec;
- GlobFile : GlobFile1;
-
- IMPLEMENTATION
-
- END.
-